<template>
    <view class="bg-[#f8f8f8] min-h-screen">
        <view class="h-[10rpx]"></view>
        <view class="text-center bg-white text-[#3D3D3D] pt-[26rpx] px-[30rpx]">
            <view class="text-[38rpx]">标题标题标题</view>
            <view class="text-[#979797] my-1">时间：2024年10月10日 10:10</view>
            <view>后端获取内容</view>

        </view>
    </view>
    <view class=" fixed bottom-0 bg-white pt-[8rpx] pb-[12rpx]">
        <view class="  flex justify-around w-[100vw]">
            <view class="flex flex-col items-center justify-center">
                <u-icon name="share" color="#3D3D3D" size="28"></u-icon>
                <view>134</view>
            </view>
            <view class="flex flex-col items-center justify-center">
                <u-icon name="thumb-up" color="#3D3D3D" size="28"></u-icon>
                <view>134</view>
            </view>
            <view class="flex flex-col items-center justify-center">
                <u-icon name="star" color="#3D3D3D" size="28"></u-icon>
                <view>134</view>
            </view>
            <view class="flex flex-col items-center justify-center">
                <u-icon name="eye" color="#3D3D3D" size="28"></u-icon>
                <view>134</view>
            </view>
        </view>
        <view :style="{ height: iosHight + 'rpx' }"></view>
    </view>
</template>
<script setup>
import { ref } from 'vue'
const iosHight = ref(0)
const navigateTo = (url) => {
    uni.navigateTo({
        url
    })
}
const systemInfo = uni.getSystemInfoSync();
if (systemInfo.platform === 'ios') {
    iosHight.value = 50
} else {
    iosHight.value = 0
}
onLoad((option) => {
    if (option.type == 1) {
        uni.setNavigationBarTitle({
            title: "招生详情"
        })
    } else if(option.type == 2){
        uni.setNavigationBarTitle({
            title: "新闻详情"
        })
    }

})
</script>
<style></style>